contextMenus

Class: com.microstrategy.web.app.taglibs.ContextMenusTag

Description:

This custom tag adds context-menus to an area of the page. That is, a pop-up menu will be displayed to the user when s/he right-mouse clicks in the page within the body of the Tag.
The menus need to be defined in the pageConfig.xml in the <menus> section. These are defined as a shortcut-list-set. The Tag will automatically use the first shortcut-list.
To render a context-menus only its name is required (as specified in the page-config). Optionally, a "baseBean" can be provided, which tells the menus where to check for Features and the Events.

Usage:

 <web:contextMenus menusName="report-menu" baseBean="frame.rb"/>
 


Name Required? Description
baseBean false This refers to the name of the Bean to used as the Component for the GuiElement.
The GuiElement then uses this bean to retrieve information such as Features and Events.
menusName true Indicates the name of the menu in the page-config to be used for context-menus.
Usage:
The name needs to be a valid shortcut-list-set of the <menus> section in the page-config.
name false Indicates the name of the context-menu in the page.
Usage:
This attributes helps the JavaScript code to identify the context menus within the page. It needs to be a unique identifier for the menus. If not specified, one will be automatically assigned.